#define _CRT_SECURE_NO_WARNINGS 1

#include"Sort.h"

void TestInsertSort()
{
	int a[] = { 3, 5, 2, 6, 1, 9, 4, 8, 7 };
	int sz = sizeof(a) / sizeof(int);
	Show(a, sz);
	InsertSort(a, sz);
	Show(a, sz);
}

void TestShellSort()
{
	int a[] = { 3, 5, 2, 6, 1, 9, 4, 8, 7 };
	int sz = sizeof(a) / sizeof(int);
	Show(a, sz);
	ShellSort(a, sz);
	Show(a, sz);
}

int main()
{
	TestInsertSort();
	TestShellSort();
	return 0;
}